home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PD ROM 1
/
PD ROM Volume I - Macintosh Software from BMUG (1988).iso
/
Sounds
/
SpeechLib 3.0
/
LibInit.asm
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Assembly Source File
|
1986-04-27
|
326 b
|
14 lines
|
[
TEXT/ttxt
]
BasicVersion EQU 0 ;i.e. 2 in version 2.00
BasicResult EQU 6 ;if library is compatible with BASIC's
;version, it sets this field to 0.
;If it is incompatible, it sets it non-zero.
LibInit:
CLR.W BasicResult(a0)
CMP.W #2,BasicVersion(a0)
BGE LibInitExit
MOVE.W #-1,BasicResult(a0)
LibInitExit:
CLR.L d0
RTS